<?php
$pid = $_POST['pid'];
include ("conn.php");
//下面是读取数据
$sql = "DELETE FROM pageList WHERE id = ".(int)$pid;
$result = $conn->query($sql);
echo '{"code":"ok"}';
?>